package provider;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.dubbo.annotation.EnableDubbo;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;

@EnableDubbo
@SpringBootApplication
@ComponentScan("provider")
public class ProviderApplication {

	public static void main(String[] args) throws Exception {
		new SpringApplicationBuilder(ProviderApplication.class).web(true).run(args);
	}
}
